home *** CD-ROM | disk | FTP | other *** search
- viewpoint {
- from <0, 3, -6>
- at <0,0,0>
- up <0,1,0>
- angle 30
- resolution 256, 256
- aspect 1
- }
- background SkyBlue
- light <-15,30,-25>
-
- define matte_white
- texture {
- surface {
- ambient white, 0.4
- diffuse white, 0.6
- }
- }
-
- define matte_black
- texture {
- surface {
- ambient DarkSlateGray, 0.3
- diffuse DarkSlateGray, 0.2
- }
- }
-
- define glass
- texture {
- surface {
- ambient 0
- diffuse 0
- specular 0.2
- transmission white, 1, 1.5
- }
- }
-
- object {
- blob 0.6:
- 1.0, 1.0, <0.75, 0, 0>,
- 1.0, 1.0, <0.75*cos(radians(120)), 0.75*sin(radians(120)), 0>,
- 1.0, 1.0, <0.75*cos(radians(240)), 0.75*sin(radians(240)), 0>
- root_solver Ferrari
- glass
- rotate <0,30,0>
- }
-
- // Create a ground plane
- object {
- polynomial y + 0.1
- texture { checker matte_white, matte_black }
- translate <0,-2.5,0>
- }
-